Skip to content

NLO QED with ISR and s-channel resonances in lepton collisions - #535

Open
marcozaro wants to merge 1 commit into
mainfrom
isr-resonances
Open

marcozaro wants to merge 1 commit into
mainfrom
isr-resonances

Conversation

@marcozaro

Copy link
Copy Markdown
Contributor
  • generate_ee_tau_y: use the mapping without event projection also in the BW channel for tau. Mixing the two real-emission mappings in a multi-channel whose weights depend on the Born tau biases the NLO result; with event projection the real-emission x's also differ from the Born ones while the lepton densities use the Born omx_ee.
  • xi=0 counterterms (soft, soft-collinear, soft parts of the degenerate collinear remnants, incl. the PDF-scheme [1/xi] and [log(xi)/xi] terms) reweighted by r=K((1-xi)s)/K(s), with the integral of (r-1)/xi [and (r-1)log(xi)/xi] added back analytically on the same counterevents (isr_bw_factors, isr_cdilog in fks_singular.f), also through include_multichannel_enhance. Switch: isr_bw_rewgt.
  • generate_momenta_initial_noevpr: importance sampling of xi towards (1-xi)*shat=M^2 (one-sample multichannel with the soft sampling). Switch: frac_bw_xi.

Claude-Session: https://claude.ai/code/session_01R1EehUEVegap4zvqVefR6j

Claude-Session: https://claude.ai/code/session_01R1EehUEVegap4zvqVefR6j

- generate_ee_tau_y: use the mapping without event projection also in
  the BW channel for tau. Mixing the two real-emission mappings in a
  multi-channel whose weights depend on the Born tau biases the NLO
  result; with event projection the real-emission x's also differ from
  the Born ones while the lepton densities use the Born omx_ee.
- xi=0 counterterms (soft, soft-collinear, soft parts of the degenerate
  collinear remnants, incl. the PDF-scheme [1/xi] and [log(xi)/xi]
  terms) reweighted by r=K((1-xi)s)/K(s), with the integral of (r-1)/xi
  [and (r-1)log(xi)/xi] added back analytically on the same
  counterevents (isr_bw_factors, isr_cdilog in fks_singular.f), also
  through include_multichannel_enhance. Switch: isr_bw_rewgt.
- generate_momenta_initial_noevpr: importance sampling of xi towards
  (1-xi)*shat=M^2 (one-sample multichannel with the soft sampling).
  Switch: frac_bw_xi.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R1EehUEVegap4zvqVefR6j

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R1EehUEVegap4zvqVefR6j
@marcozaro

Copy link
Copy Markdown
Contributor Author

NLO QED with ISR in lepton collisions: s-channel resonances (radiative return)

This PR fixes the FKS treatment of initial-state QED radiation in lepton collisions when the Born process has an s-channel resonance that can be reached by radiative return (e.g. e+e- → μ+μ- around and above the Z pole, e+e- → νν̄ at high energy). The work was done by Marco Zaro together with Claude (Anthropic's AI assistant); the code still has to be reviewed by Marco.

The problem

With lepton PDFs and the mapping at fixed Bjorken x's (no event projection), the soft and soft-collinear counterterms are evaluated at the Born invariant mass ŝ = x₁x₂S, while the real emission has a hard invariant mass (1−ξ)ŝ. Below the subtraction edge (ξ < ξcut) the counterterms therefore use the Breit–Wigner K(ŝ) where the real emission has K((1−ξ)ŝ). When ŝ is above the resonance and (1−ξ)ŝ can reach M², the real-minus-counterterm integrand is dominated by an unsubtracted resonance peak. This gives a large ξcut dependence and very poor convergence, and, in combination with the multichannel in τ (BW channel with event projection, flat channel without), a biased NLO result. In 3.8.0 at √s = 240 GeV, e+e- → μ+μ- [QED] gave 36.18 pb instead of 33.97 pb, and at the Z pole the NLO-only part was off by an order of magnitude.

What the patch does

  1. genps_fks_sampling.f, generate_ee_tau_y: the mapping without event projection is used in both τ channels (flat and BW). Mixing the two real-emission mappings in a multichannel whose weights depend on the Born τ does not sum to one over the real-emission phase space and biases the result. The resonance mass and width are stored in common /c_isr_bwres/ (reset in generate_tau_y_wrapper, same file).
  2. fks_singular.f, ξ=0 counterterms: the soft, soft-collinear and soft parts of the degenerate collinear remnants (including the PDF-scheme [1/ξ]₊ and [log ξ/ξ]₊ terms) are reweighted by r(ξ) = K((1−ξ)ŝ)/K(ŝ), so that they follow the real emission across the peak. The difference, ∫₀^ξcut (r−1)/ξ and ∫₀^ξcut log ξ (r−1)/ξ, is added back analytically on the same counterevents (isr_bw_factors, complex dilogarithm isr_cdilog). The add-back factors are also multiplied by the multichannel enhancement in include_multichannel_enhance. Switch: isr_bw_rewgt in isr_bw_active().
  3. genps_fks_radiation.f, generate_momenta_initial_noevpr: one-sample multichannel importance sampling of ξ towards (1−ξ)ŝ = M² (BW in (1−ξ)ŝ), mixed with the usual soft sampling. Switch: frac_bw_xi (default 0.5). The Jacobian depends only on ξ̂ and the Born variables, so it is identical for the event and all counterevents. It is not used with the native MC mapping (native_mapping), which relies on the standard ξ sampling.

The reweighting is an exact rearrangement of the subtraction (counterterm + analytic add-back), so the result does not depend on it; only the variance does. It is active only when the τ generation has an s-channel BW that can be reached (bw_exists: no t-channel, width ≠ 0, cBW ≠ 2, τ_M < 1, sum of final-state masses below M), for initial-state j_fks and without event projection. Processes where the resonance is not reachable (e.g. on-shell e+e- → ZH, VH), hadronic collisions and final-state radiation are unaffected (identical code path as before).

Validation (e+e- → μ+μ- [QED], loop_qcd_qed_sm_Gmu, complex mass scheme, Gμ, eMELA NLL Δ-scheme PDFs)

  • Z-lineshape scan from 70 to 240 GeV: K-factors between 0.984 and 1.036; at 91.2 GeV K = 1.01172 ± 0.00028.
  • Independence of the FKS parameters (ξcut, ξScut, δ_I, δ_O, δ_S, down to 10⁻³) at three energies: χ² = 15.5/33 (cluster runs, req_acc_FO = 3·10⁻⁴).
  • Independence of the reweighting switch and of the ξ sampling.
  • MadGraph7 vs MG5_aMC 3.8.0 with the same patch and the same cuts: χ² = 15.5/22.
  • e+e- → νμν̄μ at 500 GeV (radiative return to the Z dominating the rate): NLO independent of μF (μF = m_νν̄ vs √s: 0.9115 vs 0.9091 pb) while the LO changes by 14%.

Files

  • Template/NLO/SubProcesses/fks_singular.f (+227)
  • Template/NLO/SubProcesses/genps_fks_sampling.f (+31/−3)
  • Template/NLO/SubProcesses/genps_fks_radiation.f (+64/−7)

The patch was developed and validated on 81fe002 and on MG5_aMC 3.8.0 (where the same patch exists), and then ported to the current main after the split of genps_fks.f into genps_fks_{sampling,radiation,helpers}.f. On the ported version, e+e- → μ+μ- at 91.2 GeV gives 1455.1 ± 2.4 pb (1454.6 ± 2.3 pb on 81fe002) and LO agrees at 240 GeV; at 240 GeV (mll > 50 GeV) the NLO is 4.5332 ± 0.0038 pb, against 4.543 ± 0.007 pb (average of three runs) on 81fe002. Only fixed-order runs were tested; the interplay with the native MC@NLO mapping and with the new ISR sampling on main should be checked by the reviewers.

🤖 Generated with Claude Code

https://claude.ai/code/session_01R1EehUEVegap4zvqVefR6j

@marcozaro marcozaro self-assigned this Nov 23, 2026
@marcozaro

Copy link
Copy Markdown
Contributor Author

Hi,
this PR should fix the behaviour of the code for e+e- collisions with resonances. Done with Claude

@marcozaro

Copy link
Copy Markdown
Contributor Author

i attach a note that explains a bit how this is done

resonances_ee_2.pdf

@github-actions

Copy link
Copy Markdown
Contributor

How CI reacts to this PR

  • Not a draft: the full CI runs automatically when the PR is opened and on every push.
  • Draft: only the unittest and IOtest workflows run. Mark the PR "Ready for review" to start the full CI.
  • run-ci label: while this label is on the PR, every job keeps running after a failure, so you see all failures. Without it, the first failing job cancels the other runs of that commit.
  • Closing or merging: the unfinished CI runs of this PR are cancelled. A merge gets its own run on main.
  • Pushes to main: the full CI runs after each merge.
  • Other branches: run CI only through workflow_dispatch.
  • Forks: the runs use a read-only token, so they cannot cancel each other.
  • Merge: a green CI and one approval are required to merge.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant